QT += core gui
QT += multimedia

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11
RC_ICONS = icon.ico

# 以管理员身份运行需要加下面这行和Othere files中的两个文件
#RC_FILE = a23_OneDesktop.rc

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    applnk.cpp \
    clock.cpp \
    closebutton.cpp \
    hublnk.cpp \
    hublnkhandler.cpp \
    hubwidget.cpp \
    inherentlnk.cpp \
    lnkbasehandler.cpp \
    lnkhandler.cpp \
    main.cpp \
    menuwidget.cpp \
    setting.cpp \
    settinghandler.cpp \
    textedit.cpp \
    widget.cpp

HEADERS += \
    applnk.h \
    clock.h \
    closebutton.h \
    hublnk.h \
    hublnkhandler.h \
    hubwidget.h \
    inherentlnk.h \
    lnkbasehandler.h \
    lnkhandler.h \
    menuwidget.h \
    setting.h \
    settinghandler.h \
    textedit.h \
    widget.h

FORMS += \
    clock.ui \
    hublnk.ui \
    hubwidget.ui \
    setting.ui \
    textedit.ui \
    widget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    res.qrc

DISTFILES += \
    a23_OneDesktop.manifest \
    a23_OneDesktop.rc
